package jpa.entitys.promis.common;

import java.io.Serializable;

import javax.persistence.*;

import promis.utility.CommonService;

import java.math.BigDecimal;

import jpa.entitys.common.CommonEntity;


/**
 * The persistent class for the MASTER_STATUS database table.
 * 
 */
@Entity
@Table(name="MASTER_STATUS")
@NamedQueries({
    @NamedQuery(name = "MasterStatus.findAll", query = " SELECT c FROM MasterStatus c "),
    @NamedQuery(name = "MasterStatus.findById", query = " SELECT c FROM MasterStatus c WHERE c.id = :Id ")
})
public class MasterStatus extends CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private MasterStatusPK id;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}

	@Column(length=300)
	private String description;

	@Column(precision=22)
	private BigDecimal seqno;

    public MasterStatus() {
    }

	public MasterStatusPK getId() {
		return this.id;
	}

	public void setId(MasterStatusPK id) {
		this.id = id;
	}
	
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BigDecimal getSeqno() {
		return this.seqno;
	}

	public void setSeqno(BigDecimal seqno) {
		this.seqno = seqno;
	}

}